import request from '@/util/request'

// 获取帮助中心列表
export function listMallArticle() {
  return request({
    url: '/aqs/mallArticle/listPcMallArticle',
    method: 'get',
    baseURL: process.env.VUE_APP_AJS_OTHER
  })
}

// 根据id查询文章
export function getMallArticle(id) {
  return request({
    url: `/aqs/mallArticle/getMallArticle/${id}`,
    method: 'get',
    baseURL: process.env.VUE_APP_AJS_OTHER
  })
}
